import Vue from 'vue'

import ElementUI from 'element-ui'
// import ElTreepicker from '@gwzh/el-treepicker'

import '@guanwei/app-style'
// import '@gwzh/bs/dist/bs.css'
// import '@gwzh/ui/dist/ui.css'
import 'nprogress/nprogress.css'
import '@/assets/icons/iconmonstr-iconic-font-1.3.0/css/iconmonstr-iconic-font.css'
import '@/styles/index.scss'

import App from './App'
import router from './router'
import store from './store'

import '@/assets/icons'
import './permission'

import components from './components'
// import GwzhBs from '@gwzh/bs'

// const GwzhUI = require('@gwzh/ui') // webpack 不支持 import 打包

Vue.use(ElementUI)
// Vue.use(GwzhUI)
// Vue.use(GwzhBs)
Vue.use(components)

console.log()

// Vue.component('GwTreepicker', ElTreepicker)

Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
